Search results
211 packages found
Recursively flatten an array or arrays.
Converts an array of items with ids and parent ids to a nested tree in a performant `O(n)` way. Runs in browsers and node.
- array to tree
- list to tree
- unflatten
- array-helper
- array-manipulations
- data-structures
- datastructures
- algorithms
- tree-structure
- array
- list
- collection
- pointer
- parent
- View more
Converts an array of items with ids and parent ids to a nested tree in a performant `O(n)` way. Runs in browsers and node.
- array to tree
- list to tree
- unflatten
- array-helper
- array-manipulations
- data-structures
- datastructures
- algorithms
- tree-structure
- array
- list
- collection
- pointer
- parent
- View more
Safely get deep nested properties using dot notation
Flexible and powerful JSON pattern validation library with support for complex, nested structures, array validation, and a wide range of validation patterns. Includes logical operators and strict/nullable types.
Core types for qb1
Pattern matching library
- array
- condition
- match
- matching
- object
- pattern
- pattern-matching
- predicate
- string
- regex
- regular expression
- nested
- deep
- recursive
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Convert a plain array of nodes (with pointers to parent nodes) to a tree
Quickly pack a nested 2D array into a typed array – useful for flattening point data into a WebGL-friendly format
ForEachOf is a utility function similiar to the idea of Array.prototype.forEach method executing a callback function on each element of an array, but in this case in a flattening manner, so you could have an infinite levels of nesting and it will go throu
Convert a plain array of nodes (with pointers to parent nodes) to a tree
Resolver that finds properties from [deeply] nested objects/arrays given a path or pattern. It also collects properties from multiple branches, without throwing Type Errors.
- resolve
- property resolve
- resolve path
- resolve nested
- accessor
- property accessor
- optional property
- wildcard resolve
- collector
- property collector
- tree traversal
- object traversal
- nested
- deep nested
- View more
Turns an array of arrays of data into a nested tree of plain objects
Sort array of arrays by column, rippling the sorting outwards from that column
Deep clone and map complex nested objects
Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.
Merge and flatten any arrays found in all values within plain objects
Provides nested objects from tabular data.
A module to sort a JSON array.